root@gitlab git/gitlab# sudo -u git -H bundle install --without postgres development test --deployment
/usr/local/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'bundler' (>= 0) among 11 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/home/git/.gem/ruby/2.3.0:/usr/local/lib/ruby/gems/2.3.0', execute `gem env` for more information
        from /usr/local/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec'
        from /usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'
        from /usr/local/bin/bundle:22:in `<main>'


rake's executable "rake" conflicts with /usr/local/bin/rake
Overwrite the executable? [yN]

Downloading omniauth-google-oauth2-0.4.1 revealed dependencies not in the API or the lockfile (omniauth-oauth2 (>= 1.3.1), jwt (~> 1.5.2)).
Either installing with `--full-index` or running `bundle update omniauth-google-oauth2` should fix the problem.



Downloading omniauth-google-oauth2-0.4.1 revealed dependencies not in the API or the lockfile (omniauth-oauth2 (>= 1.3.1), jwt (~> 1.5.2)).
Either installing with `--full-index` or running `bundle update omniauth-google-oauth2` should fix the problem.
